<template>
  <div class="register">
    <input type="text" placeholder="用户名" />
    <input type="email" name="" id="" placeholder="邮箱" />
    <input type="password" name="" id="" placeholder="密码" />
    <input type="password" name="" id="" placeholder="确认密码" />
    <div class="service">
      <input type="checkbox" name="" id=""> 
      我同意<a href="javascript:;">服务条款</a>
    </div>
    <input type="submit" value="注 册" />
  </div>
</template>

<script>
  export default {
    name: 'Register'
  }
</script>

<style scoped>
  .register {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #E1ECF8;
    border-radius: 5px;
    margin-top: -15px;
    padding: 30px 0;
  }

  input {
    width: 400px;
    background-color: #fff;
    border: 0;
    border-radius: 3px;
    margin: 10px 0;
    padding: 20px 15px;
    box-shadow: 2px 2px 10px #ccc;
  }

  input::-webkit-input-placeholder {
    color: #A9A3AF;
  }

  .service {
    width: 400px;
    border-bottom: 1px solid #86a3b1;
    padding: 10px 0;
  }

  input[type=checkbox] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    vertical-align: middle;
  }

  .service a {
    text-decoration: underline;
  }
  
  input[type=submit] {
    width: 100px;
    height: 40px;
    background-color: #86a3b1;
    border: 2px solid #86a3b1;
    border-radius: 44px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 0;
    transition: all .3s ease-in;
    box-sizing: border-box;
  }

  input[type=submit]:hover {
    background-color: #fff;
    color: #86a3b1;
  }
</style>